package xin.xueqing.base.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 部门表(BaseDept)BaseDeptDTO
 *
 * @author xueqing wang
 * @since 2021-03-08 23:10:24
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@Builder
@ApiModel(value = "BaseDeptDTO", description = "BaseDept")
public class BaseDeptDto  implements Serializable  {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value = "主键")
    private Integer key;

    /**
     * 部门名称
     */
    @ApiModelProperty(name = "name", value = "部门名称")
    private String title;


    @ApiModelProperty(name="children",value = "下级部门")
    private List<BaseDeptDto> children;

}
